package com.zyzd.general.entity.local;

import java.io.Serializable;

public class TextEntity implements Serializable {
    public static final int TYPE_LEFT = 0;
    public static final int TYPE_RIGHT = 1;
    public static final int TYPE_LINE = 2;

    private String content;
    private int type = TYPE_LEFT;

    public TextEntity(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "TextEntity{" +
                "content='" + content + '\'' +
                ", type=" + type +
                '}';
    }
}
